package com.test.provider.serviceimpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.text.api.entity.Student;
import com.text.api.service.StudentService;


@Service(version = "1.0.0",interfaceClass = StudentService.class)
public class StudentServiceImpl implements StudentService {
    @Override
    public Student getStudent() {
        System.out.println("小明来了!");
        Student student = new Student();
        student.setName("小明");
        student.setAge(25);
        return student;
    }
}
